﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace UIWindow.Models.S7NET
{
    public class S7DUTBatteryModel
    {
        public S7DUTBatteryModel()
        {
            Code = new byte[52];
        }
        /// <summary>
        /// 有电池
        /// </summary>
        public bool HaveBattery { get; set; }
        /// <summary>
        /// 前扫码OK
        /// </summary>
        public bool CodeOK { get; set; }
        /// <summary>
        /// 打胶钉OK
        /// </summary>
        public bool PlugOK { get; set; }
        /// <summary>
        /// MES OK
        /// </summary>
        public bool MESOK { get; set; }
        /// <summary>
        /// 注液完成
        /// </summary>
        public bool InjectionFinished { get; set; }
        /// <summary>
        /// 前称重OK
        /// </summary>
        public bool BeforWeight_OK { get; set; }
        /// <summary>
        /// 后称重OK
        /// </summary>
        public bool Weight_OK { get; set; }
        /// <summary>
        /// 胶钉检测OK
        /// </summary>
        public bool NailTest_OK { get; set; }
        /// <summary>
        /// 胶钉高度OK
        /// </summary>
        public bool NailHight_OK { get; set; }
        /// <summary>
        /// 回氦OK
        /// </summary>
        public bool HeOK { get; set; }
        /// <summary>
        /// 偏差值
        /// </summary>
        public float Offset { get; set; }
        /// <summary>
        /// 前称重
        /// </summary>
        public float BeforWeight { get; set; }
        /// <summary>
        /// 空壳重
        /// </summary>
        public float Enter_weight { get; set; }
        /// <summary>
        /// 后称重
        /// </summary>
        public float AfterWeigth { get; set; }
        /// <summary>
        /// 注液偏差值
        /// </summary>
        public float Weight_Offset { get; set; }
        /// <summary>
        /// 打液量设定
        /// </summary>
        public float IInjection_Num { get; set; }
        /// <summary>
        /// 实际打液量
        /// </summary>
        public float SInjection_Num { get; set; }

        /// <summary>
        /// 站号
        /// </summary>
        public ushort StationNum { get; set; }
        /// <summary>
        /// 行号
        /// </summary>
        public ushort TrayNum { get; set; }
        /// <summary>
        /// 列号
        /// </summary>
        public ushort Index { get; set; }
        /// <summary>
        /// 泵号
        /// </summary>
        public ushort BumpIndex { get; set; }

        /// <summary>
        /// 条码
        /// </summary>
        public byte[] Code { get; set; }
        /// <summary>
        /// 胶钉高度
        /// </summary>
        public float NailHight { get; set; }

        /// <summary>
        /// 后扫码OK
        /// </summary>
        public bool Code2OK { get; set; }
        /// <summary>
        /// 出站扫码OK
        /// </summary>
        public bool Code3OK { get; set; }
        public byte Placeholder1 { get; set; }
        /// <summary>
        /// 注液前真空
        /// </summary>
        public float VacuumBeforeFilling { get; set; }
        /// <summary>
        /// 注液真空
        /// </summary>
        public float LiquidInjectionVacuum { get; set; }
        /// <summary>
        /// 回氦真空
        /// </summary>
        public float BackHeliumVacuum { get; set; }
        /// <summary>
        /// 回氦压力
        /// </summary>
        public float HeliumReturnPressure { get; set; }
        public ushort MyProperty1 { get; set; }
        public ushort MyProperty2 { get; set; }
        public ushort MyProperty3 { get; set; }
        public ushort MyProperty4 { get; set; }
        public ushort MyProperty5 { get; set; }
        public ushort MyProperty6 { get; set; }
        public ushort MyProperty7 { get; set; }
        public ushort MyProperty8 { get; set; }
        //public long B7 { get; set; }
        //public long B8 { get; set; }
        //public long B9 { get; set; }
        //public long B10 { get; set; }
    }
}
